//
//  DHRightNavButton.m
//  精品酒店
//
//  Created by DIANGHONG on 2018/5/8.
//  Copyright © 2018年 DIANGHONG. All rights reserved.
//

#import "DHRightNavButton.h"
@interface DHRightNavButton()
@property (weak, nonatomic) IBOutlet UILabel *TitleLabel;

@end

@implementation DHRightNavButton

+ (instancetype)buttonWithTitle:(NSString *)title frame:(CGRect)frame{
    
    UINib *nib = [UINib nibWithNibName:@"DHRightNavButton" bundle:nil];
    
    DHRightNavButton *button = [nib instantiateWithOwner:nil options:nil][0];
    //[button addTarget:self action:@selector(buttonClick) forControlEvents:UIControlEventTouchUpInside];
    
    button.frame = frame;
    return button;
}
@end
